package com.mes.cloud.api.dto.response;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 返回给前端的字典 属性 （精简的）
 *
 * @author Mr.zhang
 * @version 2019-07-30 13:43:19
 * @email 407892370@qq.com
 */
@Data
@ApiModel("字典表dto")
public class SysDictDto implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "字典显示值", required = false)
    private String name;
    @ApiModelProperty(value = "字典值", required = false)
    private String value;
    @ApiModelProperty(value = "是否默认(同类型下只允许一个为默认)1-默认", required = false)
    private Integer defaultFlag;
}
